
<%@ page pageEncoding="UTF-8"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="isperp" uri="/WEB-INF/tlds/isperp.tld"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>

<form:form commandName="model" cssClass="validate" id="ciForm"
	action="task/inspectCiInfo/saveAudit">

	<input type="text" name="ids" value="${ids}" style="display:none" />

	<div style="padding:0" class="content tabbed">
		<div id="basicInfo">
			<div class="box  no-border">
				<div class="header">
					<h3>&nbsp;&nbsp;审计结果</h3>
				</div>
				<table class=" form-table" style="table-layout: fixed;"
					id="basicInfoTable">
					<tbody>
						<tr>
							<td class="td1">审计结果：</td>
							<td class="td2"><input type="text" id="auditResult"
								name="auditResult" class="required" value="OK" /></td>
						</tr>
						<tr>
							<td class="td1">审计日期：</td>
							<td class="td2">
							
							<input name="auditDate" id="auditDate" type="date" />
							
							</td>
						</tr>
					</tbody>
				</table>
			</div>
		</div>
	</div>



</form:form>

<isperp:buttonList>
	<button class="submit nui-mainbtn"
		onclick="submitCiForm();return false;">
		<span class="icon icon-save"></span>保存
	</button>
</isperp:buttonList>
<script type="text/javascript">
	$(function() {
		var date = new Date();
		var year = date.getFullYear();
		var month = date.getMonth() + 1;
		var date = date.getDate();
		var today=year+"-"+month+"-"+date;
		
		$("#auditDate").val(today);
		
	})
	function submitCiForm() {
		var s = isperp.submitForm({
			formId : "ciForm",
			data : {},
			success : function() {
			    isperp.reloadParentControl();
				isperp.closeDialog();
				
				
			}
		});

	}
</script>
